package com.cleaningcloud.erp.domain;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 商品单位对象 erp_commodity_unit
 *
 * @author cleaningcloud
 * @date 2024-09-28
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ErpCommodityUnit extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 商品单位ID
     */
    private Long commodityUnitId;

    /**
     * 商品ID
     */
    @Excel(name = "商品ID")
    private Long commodityId;

    /**
     * 基本单位
     */
    @Excel(name = "基本单位")
    private String unitName1;

    /**
     * 辅助单位
     */
    @Excel(name = "辅助单位")
    private String unitName2;

    /**
     * 单位关系(数量)
     */
    @Excel(name = "单位关系(1包=50个)")
    private String unitRelationship;

    /**
     * 换算结果(1包=50个)
     */
    @Excel(name = "换算结果(数量)")
    private Long unitResult;

    /**
     * 成本价
     */
    @Excel(name = "成本价")
    private BigDecimal costPrice;

    /**
     * 胜博价
     */
    @Excel(name = "胜博价")
    private BigDecimal symbolPrice;

    /**
     * 零售价
     */
    @Excel(name = "零售价")
    private BigDecimal retailPrice;

    /**
     * 经销价
     */
    @Excel(name = "经销价")
    private BigDecimal distriPrice;

    /**
     * 代理价
     */
    @Excel(name = "代理价")
    private BigDecimal agencyPrice;


}
